home *** CD-ROM | disk | FTP | other *** search
- Path: raffles.technet.sg!usenet
- From: Desmond Poh <pserv@po.pacific.net.sg>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Beginner, Please Help.
- Date: Mon, 01 Apr 1996 13:56:30 -0800
- Organization: P-Serv Pte Ltd
- Message-ID: <3160510E.7DBB@po.pacific.net.sg>
- NNTP-Posting-Host: max81ppp32.pacific.net.sg
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Hi everyone
-
- I'm would like to know how to compile a DLL for other languages to use.
-
- The function I would like to have in the DLL is ...
-
- #include <math.h>
-
- float far pascal _export arcsin(float finput)
- {
- return asin(finput)
- }
-
- I've put this program (MYFIRST.CPP) in a project file to be compiled as a
- DLL.
-
- By the way, is my syntax correct?
-
- Could anyone please assist me in creating a DLL for the above function.
- Please guide me from the beginning to arriving at the DLL. I'm currently
- trying out on Borland C++ V4.5.
-
- Solutions could be E-Mailed to me at: mailto:pserv@pacific.net.sg
-
- Thanks in advance ... Desmond
-